<template>
    <div id="app">
        <div class="container">
            <!--<Header></Header>-->
            <div class="chart_view">
                <transition name="fade" mode="out-in">
                    <router-view></router-view>
                </transition>
            </div>
        </div>
        <Footer></Footer>
    </div>
</template>

<script>
    import Header from './components/Header'
    import Footer from './components/Footer'

    export default {
        name: "app",
        components: {
            Header,
            Footer
        },
        computed: {
            flag() {
                return this.$store.state.widescreenFlag
            }
        },
        methods: {}
    };
</script>

<style lang="scss" scoped>
    #app {
        font-family: 'RuiZi';
        font-size: 0.16rem;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        .chart_view {
            width: 100%;
            position: absolute;
            top: $headerH;
            bottom: 0;
        }
    }
</style>